package com.ibm.risk.irmp.base.service.client;

import com.ibm.risk.irmp.base.se.service.SeqService;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;

@HttpExchange("/seq")
public interface SeqServiceClient extends SeqService {

    @Override
    @GetExchange(value = "/next-val")

    int getNextSeq(@RequestParam String seqName, @RequestParam(required = false) String group);
}
